<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title><include file="./Application/Home/View/Common/title_prefix_text.html"/>公众号管理</title>
    <include file="./Application/Home/View/Common/head_meta.html"/>

    <link rel="stylesheet" href="__RESPATH__/css/common.css"/>
    <link rel="stylesheet" href="__RESPATH__/css/individual/user_analyzing.css"/>

</head>
<body>
<!--通知栏-->
<include file="./Application/Home/View/Common/backup/header_nav.html" />
<div class="wrap">
    <div class="main">
        <!--左侧菜单栏-->
        <include file="./Application/Home/View/Common/backup/nav.html" />
        <button type="button" class="hide" id="upload_img_btn"></button>
        <!--右侧内容区域-->
        <div class="main_left">
            <div class="headline">公众号管理</div>
            <div class="content_main">
                <include file="./Application/Home/View/Common/backup/platform_public.html" />
                <php>// 解决未绑定公众号时，不显示操作内容</php>
                <if condition="$result_gzh">
                <div id="columns_nav" class="bw-columns"></div>
                <div id="column_items">
                <div id="usergroup_manage" class="column_item">
                    <div class="con_title">
                        <button create-input-event="group" class="btn-success btn_doNew_group bigwe_default_btn">新建分组</button>
                        <div class="search pull-right">
                            <input id="search_text" class="search_input" type="text" placeholder="用户昵称"/>
                            <span class="glyphicon glyphicon-search search_btn"></span>
                        </div>
                    </div>
                    <div class="con_body">
                        <table class="table user_detail">
                            <colgroup>
                                <col/>
                                <col />
                            </colgroup>
                            <thead>
                            <tr>
                                <td colspan="2">全部用户</td>
                            </tr>
                            </thead>
                            <tbody>
                            <tr class="tr_user_control">
                                <td><input type="checkbox" id="chb_user_checkall"/></td>
                                <td style="width: 642px;height: 50px;">
                                    <span class="spa_choice_all"><label for="chb_user_checkall">全选</label></span>
                                    <div class="btn-group div_moveto">
                                        <button type="button" class="btn btn-default dropdown-toggle select_certify" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                            移动至<span class="caret"></span>
                                        </button>
                                        <ul class="dropdown-menu" id="menu">
                                            <li class="change_group">无分组</li>
                                        </ul>
                                    </div>
                                    <button type="button" class="bigwe_default_btn_fff" id="add_black" style="display: none">加入黑名单</button>
                                </td>
                            </tr>
                            <tr class="tr_user_detail">
                                <td colspan="2">
                                    <div class="div_detail_scroll">
                                        <form id="fm_user">
                                            <table class="table table-hover user_detail_scroll">
                                                <colgroup>
                                                    <col width="7%"/>
                                                    <col width="7%"/>
                                                    <col width="44%"/>
                                                    <col width="32%"/>
                                                </colgroup>
                                                <tbody id="tbody">
                                                </tbody>
                                            </table>
                                        </form>
                                    </div>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                        <div class="user_group">
                            <div class="div_grouphead">
                                全部用户<span class="spa_gray">(0)</span>
                            </div>
                            <div class="div_groupbody"></div>
                        </div>
                    </div>
                    <div class="paging"></div>
                </div>
                
                <div id="menu_manage" class="column_item">
                    <div class="wrap_mask" id="wrap_mask">
                        <p class="loading">
                            <img src="__RESPATH__/images/loading.gif">
                            <span>&emsp;数据同步中请稍候</span>
                        </p>
                    </div>
                    <div class="edit_menu">
                        <div class="left_edit_menu menu_preview_area">
                            <div class="mobile_menu_preview">
                                <div class="mobile_hd">龍龍龍</div>
                                <button type="button" id="synch-wechat" class="btn btn-default hide"><span class="glyphicon glyphicon-refresh"></span>同步微信自定义菜单</button>
                                <div class="bottom_menu">
                                    <ul class="pre_menu_list menu_num1" draggable="false" id="menuList">
                                        <li class="iconfont icon-jiahao pre_menu_item add_menu_css add_menu_js"></li>
                                    </ul>
                                </div>
                                <div class="mobile_backdrop hide"></div>
                            </div>
                            <div class="sort_btn_wrp">
                                <button class="btn btn-default bottom_btn" id="menu_sort">菜单排序</button>
                                <button class="btn btn-default bottom_btn" id="sort_finish">完成</button>
                                <button class="disable_menu">停用菜单</button>
                            </div>
                        </div>
                        <div class="enable_menu hide">
                            <p>你的自定义菜单已被停用，启用菜单后可继续操作。</p>
                            <button type="button" class="btn btn-success enable_btn">启用菜单</button>
                        </div>
                        <div class="menu_form_area">
                            <div id="js_none" class="menu_initial_tips tips_global">点击左侧菜单进行编辑操作</div>
                            <div id="js_rightBox" class="portable_editor to_left dn">
                                <div class="editor_inner">
                                    <div class="global_mod float_layout menu_form_hd js_second_title_bar">
                                        <h5 class="global_info js_menu">菜单名称</h5>
                                        <div class="global_extra">
                                            <a href="javascript:void(0);" id="jsDelBt">删除菜单</a>
                                        </div>
                                    </div>
                                    <div class="menu_form_bd" id="view">
                                        <div id="js_innerNone" class="msg_sender_tips tips_global dn">已添加子菜单，仅可设置菜单名称。</div>
                                        <div class="frm_control_group js_setNameBox">
                                            <label for="" class="frm_label">
                                                <span class="title js_menuTitle"><span class="js_menu_text">菜单</span>名称</span>
                                            </label>
                                            <div class="frm_controls">
                                                <input id="menu_name" type="text" class="frm_input js_menu_name">
                                                <p class="frm_msg fail js_titleEorTips dn">字数超过上限</p>
                                                <p class="frm_msg fail js_titlenoTips dn">请输入菜单名称</p>
                                                <p class="frm_tips js_titleNolTips">字数不超过4个汉字或8个字母</p>
                                            </div>
                                        </div>
                                        <div class="frm_control_group" id="menu_content_radio">
                                            <label for="" class="frm_label">
                                                <span class="title js_menuContent"><span class="js_menu_text">菜单</span>内容</span>
                                            </label>
                                            <div class="frm_controls frm_vertical_pt">
                                                <label class="frm_radio_label js_radio_sendMsg">
                                                    <input type="radio" name="msg_type" class="frm_radio" checked="checked" data-editing="0">
                                                    <span class="lbl_content">发送消息</span>
                                                </label>
                                                <label class="frm_radio_label js_radio_url hide">
                                                    <input type="radio" name="msg_type" class="frm_radio" disabled="disabled" id="redirect" data-editing="1">
                                                    <span class="lbl_content">跳转网页</span>
                                                </label>
                                            </div>
                                        </div>
                                        <div class="menu_content_container">
                                            <div class="menu_content send jsMain" id="edit">
                                                <div class="msg_sender js_mediaHtml" id="editDiv">
                                                </div>
                                                <p class="profile_link_msg_global menu_send mini_tips warn dn js_warn">请勿添加其他公众号的主页链接</p>
                                            </div>
                                            <div class="menu_content url jsMain" id="url">
                                                <form action="" id="urlForm" onsubmit="return false;">
                                                    <p class="menu_content_tips tips_global">订阅者点击该子菜单会跳到以下链接</p>
                                                    <div class="frm_control_group">
                                                        <label for="" class="frm_label">页面地址</label>
                                                        <div class="frm_controls">
                                                            <input type="text" class="frm_input" id="urlText" name="urlText" placeholder="如：http://www.bigwe.com">
                                                            <p class="profile_link_msg_global menu_url mini_tips warn dn js_warn">请勿添加其他公众号的主页链接</p>
                                                            <p class="frm_tips dn" id="js_urlTitle">来自
                                                                <span class="js_name"></span>
                                                                <span style="display:none;"> -《<span class="js_title"></span>》</span>
                                                            </p>
                                                        </div>
                                                    </div>
                                                    <div class="frm_control_group btn_appmsg_wrap">
                                                        <div class="frm_controls">
                                                            <p class="frm_msg fail dn" id="urlUnSelect">
                                                                <span for="urlText" class="frm_msg_content">请选择一篇文章</span>
                                                            </p>
                                                            <a href="javascript:void(0);" class="hide" id="js_appmsgPop">从公众号图文消息中选择</a>
                                                            <a href="javascript:void(0);" class="dn btn btn-default" id="js_reChangeAppmsg">重新选择</a>
                                                        </div>
                                                    </div>
                                                </form>
                                            </div>
                                            <div class="menu_content sended">
                                                <p class="menu_content_tips tips_global">订阅者点击该子菜单会跳到以下链接</p>
                                                <div class="msg_wrp" id="viewDiv"></div>
                                                <p class="frm_tips">来自<span class="js_name">素材库</span><span style="display:none;"> -《<span class="js_title"></span>》</span></p>
                                            </div>
                                            <div id="js_errTips" style="display: none;" class="msg_sender_msg mini_tips warn">请设置当前菜单内容</div>
                                    </div>
                                </div>
                                <span class="editor_arrow_wrp">
                                    <i class="editor_arrow editor_arrow_out"></i>
                                    <i class="editor_arrow editor_arrow_in"></i>
                                </span>
                            </div>
                        </div>
                    </div>
                    <button type="buttom" class="btn btn-success bottom_btn disabled" id="custom_menu_save" disabled="disabled">保存</button>&emsp;
                    <button type="buttom" class="btn btn-success bottom_btn disabled" id="custom_menu_publish" disabled="disabled">保存并发布</button>
                </div>
                </div>

                <div id="auto_reply" class="column_item">
                    <div class="spinner">
                        <div class="bounce1"></div>
                        <div class="bounce2"></div>
                        <div class="bounce3"></div>
                    </div>
                    <div class="autoReplyClosed hide">
                        <span class="text">未开启自动回复设置</span>
                        <span class="gray">通过编辑内容或关键词规则，快速进行自动回复设置。</span>
                        <button type="button" class="on_server">启用</button>
                    </div>
                    <div class="autoReplyOpened hide">
                        <div class="prompt_msg">
                            <p class="gray">设置被关注自动回复后，粉丝在关注您的公众号时，会自动发送您设置的文字／图片<!-- ／语音 -->／视频消息给粉丝</p>
                            <p class="gray hide">粉丝给您发送微信消息时，如没有匹配到设置的关键词规则，会自动回复您以下设置的文字<!-- /语音 -->/图片/视频给粉丝。1个小时内粉丝只会收到1-2次自动回复</p>
                            <p class="gray hide">当粉丝发送的消息匹配设置的关键词规则时，设置在匹配的关键词规则中回复的内容将自动发送给粉丝.关键词自动回复优先匹配触发最新设置的关键词</p>
                        </div>
                        <div class="reply_typechange">
                            <div class="reply_type_group">
                                <button type="button" class="btn_item selected">被关注自动回复</button>
                                <button type="button" class="btn_item verify hide">消息自动回复</button>
                                <button type="button" class="btn_item verify hide">关键词自动回复</button>
                            </div>
                            <div class="div_outServer">
                                <button type="button" class="out_of_server">停用</button>
                                <div class="popover fade bottom in" id="stop_msg">
                                    <div class="arrow"></div>
                                    <h3 class="popover-title hide"></h3>
                                    <div class="popover-content">
                                        <h4>已开启自动回复设置</h4>
                                        <span class="gray">通过编辑内容或关键词规则，快速进行自动回复设置。</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="keyword_setpannel">
                            <div class="keyword_content replymsg1">
                                <div class="msg_sender js_mediaHtml"></div>
                                <button type="button" class="btn btn-success dosave">保存</button>
                                <button type="button" class="btn btn-default delete_reply" disabled="disabled">删除回复</button>
                            </div>
                            <div class="keyword_content replymsg2 hide">
                                <div class="msg_sender js_mediaHtml"></div>
                                <button type="button" class="btn btn-success dosave">保存</button>
                                <button type="button" class="btn btn-default delete_reply" disabled="disabled">删除回复</button>
                            </div>
                            <div class="keyword_content replymsg3 hide">
                                <button type="button" class="btn btn-success add_rules"><span class="iconfont icon-tianjia"></span>&nbsp;添加规则</button>
                                <div class="search">
                                    <input class="search_input" type="text" placeholder="规则名或关键字">
                                    <button class="glyphicon glyphicon-search search_btn" type="button"></button>
                                </div>
                                <div class="spinner">
                                    <div class="bounce1"></div>
                                    <div class="bounce2"></div>
                                    <div class="bounce3"></div>
                                </div>
                                <div class="create_new_rule_box hide">
                                    
                                </div>
                                <ul class="keywords_rule_list">
                                    
                                </ul>
                                <div class="paging"></div>
                                <p class="gray nodata_prompt hide">暂无创建规则</p>
                                <div class="modal fade keyword_modal" data-backdrop="static" id="add_reply_keyword" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
                                    <div class="modal-dialog" role="document">
                                        <div class="modal-content">
                                            <div class="modal-header">
                                                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                                    <span aria-hidden="true">&times;</span>
                                                </button>
                                                <h4 class="modal-title">添加关键字</h4>
                                            </div>
                                            <div class="modal-body">
                                                <div class="div_keyword_text">
                                                    <textarea placeholder="请在此处输入关键字" class="js_addkeyword" maxlength="30"></textarea>
                                                    <div class="keyword_preview">
                                                    </div>
                                                </div>
                                                <p>输入回车可添加多个关键字</p>
                                            </div>
                                            <div class="modal-footer">
                                                <button type="button" class="btn btn-success">确定</button>
                                                <button type="button" class="btn btn-default" data-dismiss="modal" aria-label="Close">取消</button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="modal fade keyword_modal" data-backdrop="static" id="modify_reply_keyword" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
                                    <div class="modal-dialog" role="document">
                                        <div class="modal-content">
                                            <div class="modal-header">
                                                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                                    <span aria-hidden="true">&times;</span>
                                                </button>
                                                <h4 class="modal-title">修改关键字</h4>
                                            </div>
                                            <div class="modal-body">
                                                <div class="div_keyword_text">
                                                    <textarea placeholder="请在此处输入关键字" class="js_addkeyword" maxlength="30"></textarea>
                                                    <div class="keyword_preview">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="modal-footer">
                                                <button type="button" class="btn btn-success">确定</button>
                                                <button type="button" class="btn btn-default" data-dismiss="modal" aria-label="Close">取消</button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="modal fade keyword_modal" data-backdrop="static" id="Js_textEditor" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
                                    <div class="modal-dialog" role="document">
                                        <div class="modal-content">
                                            <div class="modal-header">
                                                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                                    <span aria-hidden="true">&times;</span>
                                                </button>
                                                <h4 class="modal-title">添加回复文字</h4>
                                            </div>
                                            <div class="modal-body">
                                                <div class="text_edit">
                                                    <textarea class="js_editorArea" placeholder="输入文字消息" maxlength="300"></textarea>
                                                    <div class="editor_toolbar">
                                                        <span class="editor_tip">还可以输入<span>300</span>字</span>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="modal-footer">
                                                <button type="button" class="btn btn-success">确定</button>
                                                <button type="button" class="btn btn-default" data-dismiss="modal" aria-label="Close">取消</button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                </div>
                </if>
        </div>
    </div>
</div>
</div>
<!-- 离开确认弹出框 -->
<div class="modal fade warningDialog" data-backdrop="static" id="deleteConfirm" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title">温馨提示</h4>
            </div>
            <div class="modal-body">
                <span class="warningmsg">
                    <span class="iconfont icon-gantanhao"></span>
                    <span class="text deletemenu_confirm">
                        <span>删除确认</span><br/>
                        <span class="spa_gray">删除后“<span id="menuNameText"></span>”菜单下设置的内容将被删除</span>
                    </span>
                </span>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-success" id="deleteSave">确定</button>
                <button type="button" class="btn btn-default" data-dismiss="modal" aria-label="Close">取消</button>
            </div>
        </div>
    </div>
</div>
<div class="modal fade warningDialog" data-backdrop="static" id="addChildConfirm" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title">温馨提示</h4>
            </div>
            <div class="modal-body">
                <span class="warningmsg">
                    <span class="iconfont icon-gantanhao"></span>
                    <span class="text add_childConfirm">
                        <span>子菜单确认</span><br/>
                        <span class="spa_gray">添加子菜单后，一级菜单的内容将被清除。确定添加子菜单？</span>
                    </span>
                </span>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-success" id="addChildSure">确定</button>
                <button type="button" class="btn btn-default" data-dismiss="modal" aria-label="Close">取消</button>
            </div>
        </div>
    </div>
</div>
<div class="modal fade warningDialog" data-backdrop="static" id="publishConfirm" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title">温馨提示</h4>
            </div>
            <div class="modal-body">
                <span class="warningmsg publish_prompt hide">
                    <span class="iconfont icon-gantanhao"></span>
                    <span class="text add_childConfirm">
                        <span>发布确认</span><br/>
                        <span class="spa_gray">发布成功后会覆盖原版本，且将在24小时内对所有用户生效，确认发布？</span>
                    </span>
                </span>
                <span class="warningmsg enable_prompt hide">
                    <span class="iconfont icon-gantanhao"></span>
                    <span class="text add_childConfirm">
                        <span>开启确认</span><br/>
                        <span class="spa_gray">开启自定义菜单功能并覆盖原版本，且将在24小时内对所有用户生效，确认开启？</span>
                    </span>
                </span>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-success" id="publishSure">确定</button>
                <button type="button" class="btn btn-default" data-dismiss="modal" aria-label="Close">取消</button>
            </div>
        </div>
    </div>
</div>
<!--页面底部-->
<include file="./Application/Home/View/Common/footer.html" />
<include file="./Application/Home/View/Common/backup/util_my_mpnews_choose.html" />
<include file="./Application/Home/View/Common/backup/util_my_images_choose.html" />
<include file="./Application/Home/View/Common/backup/util_my_video_choose.html" />
<include file="./Application/Home/View/Common/backup/util_image_uploader.html" />
<include file="./Application/Home/View/Common/backup/util_video_uploader.html" />
<include file="./Application/Home/View/Common/backup/public_list.html" />
<!-- 微信公众号登录验证 -->
<include file="./Application/Home/View/Common/backup/send_preview.html" />

<input type="hidden" value="{$Qiniu_domain_img}" id="upload_domain_img"/>
<input type="hidden" value="{$Qiniu_domain_video}" id="upload_domain_video"/>
<input type="hidden" value="{$Think.session.user_login}" id="user_login" />
<script type="text/html" id="mediaset">
    <div class="mask_loadData">
        <div class="spinner">
            <div class="bounce1"></div>
            <div class="bounce2"></div>
            <div class="bounce3"></div>
        </div>
    </div>
    <div class="msg_tab">
        <div class="tab_navs_panel">
            <div class="tab_navs_wrp">
                <ul class="tab_navs js_tab_navs js_errorRemove">
                    <li class="tab_nav tab_appmsg selected" edit-index="0">
                        <a href="javascript: void(0);">
                            <span class="iconfont icon-moban"></span>
                            <span>图文消息</span>
                        </a>
                    </li>
                    <li class="tab_nav tab_text hide js_textSetting" edit-index="1">
                        <a href="javascript: void(0);">
                            <span class="iconfont icon-pen"></span>
                            <span>文字</span>
                        </a>
                    </li>
                    <li class="tab_nav tab_img" edit-index="2">
                        <a href="javascript: void(0);">
                            <span class="iconfont icon-picture"></span>
                            <span>图片</span>
                        </a>
                    </li>
                    <li class="tab_nav tab_audio hide" edit-index="3">
                        <a href="javascript: void(0);">
                            <span class="iconfont icon-yuyin"></span>
                            <span>语音</span>
                        </a>
                    </li>
                    <li class="tab_nav tab_video" edit-index="4">
                        <a href="javascript: void(0);">
                            <span class="iconfont icon-video"></span>
                            <span>视频</span>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
        <div class="tab_panel">
            <div class="tab_content mpnews_choose">
                <div class="js_appmsgArea inner ">
                    <div class="tab_cont_cover jsMsgSendTab">
                        <div class="media_cover create_access common_trans js_errorRemove">
                            <a data-toggle="modal" data-target="#my_mpnews" class="common_trans">
                                <span class="iconfont icon-fuzhi"></span>
                                <span>从图文消息中选取</span>
                            </a>
                        </div>
                        <div class="media_cover create_access common_trans js_errorRemove">
                            <a href="/edit_text" class="common_trans">
                                <span class="iconfont icon-jiahao"></span>
                                <span>新建图文消息</span>
                            </a>
                        </div>
                    </div>
                    <div class="wait_content"></div>
                </div>
            </div>
            <div class="tab_content textipt">
                <div class="js_textArea inner no_extra">
                    <div class="emotion_editor">
                        <div contenteditable="true" class="edit_area js_editorArea js_errorRemove" placeholder="输入文字消息"></div>
                        <div class="editor_toolbar">
                            <span class="editor_tip">还可以输入<span>600</span>字</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="tab_content">
                <div class="js_imgArea inner ">
                    <div class="tab_cont_cover jsMsgSendTab">
                        <div class="media_cover create_access common_trans js_errorRemove">
                            <a data-toggle="modal" data-target="#my_images_choose" class="common_trans">
                                <span class="iconfont icon-fuzhi"></span>
                                <span>选取图片</span>
                            </a>
                        </div>
                        <div class="media_cover create_access common_trans js_errorRemove">
                            <a data-toggle="modal" class="common_trans js_common_img_upload">
                                <span class="iconfont icon-jiahao"></span>
                                <span>上传图片</span>
                            </a>
                        </div>
                    </div>
                    <div class="wait_content"></div>
                </div>
            </div>
            <div class="tab_content">
                <div class="js_audioArea inner ">
                    <div class="tab_cont_cover jsMsgSendTab">
                        <div class="media_cover create_access common_trans js_errorRemove">
                            <a href="javascript:;" class="common_trans">
                                <span class="iconfont icon-fuzhi"></span>
                                <span>从语音库中选择</span>
                            </a>
                        </div>
                        <div class="media_cover create_access common_trans js_errorRemove">
                            <a href="javascript:;" class="common_trans">
                                <span class="iconfont icon-jiahao"></span>
                                <span>新建图文消息</span>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
            <div class="tab_content">
                <div class="js_videoArea inner">
                    <div class="tab_cont_cover jsMsgSendTab">
                        <div class="media_cover create_access common_trans js_errorRemove">
                            <a data-toggle="modal" data-target="#my_video_choose" class="common_trans">
                                <span class="iconfont icon-fuzhi"></span>
                                <span>从视频库选取</span>
                            </a>
                        </div>
                        <div class="media_cover create_access common_trans js_errorRemove">
                            <a data-toggle="modal" data-target="#video_upload" class="common_trans">
                                <span class="iconfont icon-jiahao"></span>
                                <span>新建视频</span>
                            </a>
                        </div>
                    </div>
                    <div class="wait_content"></div>
                </div>
            </div>
        </div>
    </div>
</script>
<script type="text/html" id="keywordsHTML">
    <div class="new_rule">
        <form class="fm_data">
            <div class="head_tab">
                <span class="rule_name_text">新规则</span>
                <span class="glyphicon glyphicon-triangle-bottom pull-right"></span>
            </div>
            <div class="body_tab">
                <div class="rule_name">
                    <span class="name">规则名：</span>
                    <input type="text" placeholder="请输入规则名" class="name ipt_rule_name" />
                    <span class="name gray">&emsp;规则名最多60个字</span>
                </div>
                <div class="keyword">
                    <div class="bd_left">
                        <span>关键字</span>
                        <a data-toggle="modal" data-target="#add_reply_keyword" class="pull-right js_addkword">添加关键字</a>
                    </div>
                    <ul class="keyword_list"></ul>
                </div>
                <div class="reply_content">
                    <div class="bd_left">
                        <span>回复内容</span>
                        <label class="pull-right relpy_all hide"><input type="checkbox" class="js_relpy_all"/>&nbsp;<span>回复全部</span></label>
                    </div>
                    <ul class="reply_type_control">
                        <li class="control_item text_control" title="文字" data-toggle="modal" data-target="#Js_textEditor"><span class="iconfont icon-pen"></span></li>
                        <li class="control_item" title="图片" data-toggle="modal" data-target="#my_images_choose"><span class="iconfont icon-picture"></span></li>
                        <li class="control_item hide" title="语音"><span class="iconfont icon-yuyin"></span></li>
                        <li class="control_item" title="视频" data-toggle="modal" data-target="#my_video_choose"><span class="iconfont icon-video"></span></li>
                        <li class="control_item" title="图文" data-toggle="modal" data-target="#my_mpnews"><span class="iconfont icon-moban"></span></li>
                    </ul>
                    <ul class="reply_content_list"></ul>
                </div>
            </div>
            <div class="foot_tab">
                <button type="button" class="btn btn-success dosave">保存</button>&emsp;
                <button type="button" class="btn btn-default js_delete_rule">删除</button>
            </div>
            <div class="simple_info">
                <div class="simple_keywords">
                    <span>关键词：</span>
                    <div class="simp_kw_list"></div>
                </div>
                <div class="simple_reply">
                    <span>回&emsp;复：</span>
                    <span class="simp_data"><span class="sum">0</span>条（<span class="text_count">0</span>条文字，<span class="img">0</span>条图片，<span class="video">0</span>条视频，<span class="news">0</span>条图文）</span>
                    <span class="glyphicon glyphicon-trash pull-right js_delete_rule_simple"></span>
                </div>
            </div>
        </form>
    </div>
</script>
<script type="text/javascript" data-main="__RESPATH__/js/userAnalyzingController.js" src="__RESPATH__/js/libs/require.js"></script>
</body>
</html>